move gameobject in unity 2d

47

move gameobject in unity 2d -

transform.position = new Vector3(transform.position.x + movespeed, transform.position.y);

Comments

Submit
0 Comments